import {IModels} from '../index.d';
import {fetchFun} from '../request';

export class CommonService {
  // 获取登录验证码
  static getLoginCode(params: IModels['POST/login/tel/code']['Req']) {
    return fetchFun<IModels['POST/login/tel/code']['Res']>(
      'POST/login/tel/code',
      params,
    );
  }
}

export type CommonServiceType = typeof CommonService;
